package design_pattern.abstract_factory;

public class Test {
    public static void main(String[] args) {
        AbstractFactory colorFactory = FactoryProducer.getFactory("ColorFactory");
        Color red = colorFactory.getColor("red");
        red.fill();

    }
}
